package com.lottery.football.pojo;

import java.util.Date;

public class Schedule
{
	private int issueNo;
	private int orderNo;
	private Team hostTeam;
	private Team guestTeam;
	private int hostGoals;
	private int guestGoals;
	private String type;
	private Date startTime;
	private float winRate;
	private float drawRate;
	private float lossRate;

	public int getIssueNo()
	{
		return issueNo;
	}

	public void setIssueNo(int issueNo)
	{
		this.issueNo = issueNo;
	}

	public int getOrderNo()
	{
		return orderNo;
	}

	public void setOrderNo(int orderNo)
	{
		this.orderNo = orderNo;
	}

	public Team getHostTeam()
	{
		return hostTeam;
	}

	public void setHostTeam(Team hostTeam)
	{
		this.hostTeam = hostTeam;
	}

	public Team getGuestTeam()
	{
		return guestTeam;
	}

	public void setGuestTeam(Team guestTeam)
	{
		this.guestTeam = guestTeam;
	}

	public int getHostGoals()
	{
		return hostGoals;
	}

	public void setHostGoals(int hostGoals)
	{
		this.hostGoals = hostGoals;
	}

	public int getGuestGoals()
	{
		return guestGoals;
	}

	public void setGuestGoals(int guestGoals)
	{
		this.guestGoals = guestGoals;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public Date getStartTime()
	{
		return startTime;
	}

	public void setStartTime(Date startTime)
	{
		this.startTime = startTime;
	}

	public float getWinRate()
	{
		return winRate;
	}

	public void setWinRate(float winRate)
	{
		this.winRate = winRate;
	}

	public float getDrawRate()
	{
		return drawRate;
	}

	public void setDrawRate(float drawRate)
	{
		this.drawRate = drawRate;
	}

	public float getLossRate()
	{
		return lossRate;
	}

	public void setLossRate(float lossRate)
	{
		this.lossRate = lossRate;
	}

	public String toString()
	{
		return orderNo + ", " + type + ", " + hostTeam.getCnName() + ", " + guestTeam.getCnName() + ", " + winRate
				+ ", " + drawRate + ", " + lossRate;
	}

}
